package Edchl7;

import com.orion.symphonia3.MessageElement;
import com.orion.symphonia3.MessageComponent;

public class EDC_HL7FldPL extends MessageComponent{
	
	//Declarations

	public EDC_HL7FldST PointOfCare;
	public EDC_HL7FldST Room;
	public EDC_HL7FldST Bed;
	public EDC_HL7FldHD Facility;
	public EDC_HL7FldST LocationStatus;
	public EDC_HL7FldST PatientLocationType;
	public EDC_HL7FldST Building;
	public EDC_HL7FldST Floor;
	public EDC_HL7FldST LocationDescription;

	//Constructor
	public EDC_HL7FldPL(MessageElement elem) {
		super(elem);
		PointOfCare = new EDC_HL7FldST(elem.getElementAt("PointOfCare"));
		Room = new EDC_HL7FldST(elem.getElementAt("Room"));
		Bed = new EDC_HL7FldST(elem.getElementAt("Bed"));
		Facility = new EDC_HL7FldHD(elem.getElementAt("Facility"));
		LocationStatus = new EDC_HL7FldST(elem.getElementAt("LocationStatus"));
		PatientLocationType = new EDC_HL7FldST(elem.getElementAt("PatientLocationType"));
		Building = new EDC_HL7FldST(elem.getElementAt("Building"));
		Floor = new EDC_HL7FldST(elem.getElementAt("Floor"));
		LocationDescription = new EDC_HL7FldST(elem.getElementAt("LocationDescription"));
	}

}
